package cn.edu.sgu.www.pms.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class MenuVO implements Serializable {
    private static final long serialVersionUID = 18L;

    /**
     * 菜单ID
     */
    @ApiModelProperty(value = "菜单ID", required = true)
    private String id;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称", required = true)
    private String name;

    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    private Integer pxh;

    /**
     * 页面地址
     */
    @ApiModelProperty(value = "页面地址")
    private String url;

    /**
     * 图标样式
     */
    @ApiModelProperty(value = "图标样式")
    private String iconClass;

    /**
     * 子菜单
     */
    @ApiModelProperty(value = "子菜单", required = true)
    private List<MenuVO> children;
}